<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div class="father">
  <div class="child"></div>
</div>
<script>
  var child = document.querySelector('.child');

  console.log(child.parentNode); // => <div class="father"><div class="child"></div></div>
</script>
</body>
</html>